import request from '@/utils/request'

// 可提现银行列表
export function apiWithdrawBankLists(params: any) {
    return request.get({ url: '/withdraw.withdraw_bank/lists', params })
}

// 可提现银行列表
export function apiWithdrawBankAllByLang(params?: any) {
    return request.get({ url: '/withdraw.withdraw_bank/allByLang', params })
}

// 添加可提现银行
export function apiWithdrawBankAdd(params: any) {
    return request.post({ url: '/withdraw.withdraw_bank/add', params })
}

// 编辑可提现银行
export function apiWithdrawBankEdit(params: any) {
    return request.post({ url: '/withdraw.withdraw_bank/edit', params })
}

// 删除可提现银行
export function apiWithdrawBankDelete(params: any) {
    return request.post({ url: '/withdraw.withdraw_bank/delete', params })
}

// 可提现银行详情
export function apiWithdrawBankDetail(params: any) {
    return request.get({ url: '/withdraw.withdraw_bank/detail', params })
}